require "bundler/gem_tasks"

desc "Open an irb session preloaded with this library and an optional file at .config/console.rb"
task :console do
  singly_class = "#{File.dirname(__FILE__)}/lib/singly.rb"
  console_script = "#{File.dirname(__FILE__)}/.config/console.rb"
  sh "irb -r #{singly_class} -r #{console_script}"
end